Optimal. Leaf size=114 \[ -\frac {a}{3 x^3}-\frac {2}{3} \sqrt {2 \pi } b d^{3/2} \sin (c) C\left (\sqrt {d} \sqrt {\frac {2}{\pi }} x\right )-\frac {2}{3} \sqrt {2 \pi } b d^{3/2} \cos (c) S\left (\sqrt {d} \sqrt {\frac {2}{\pi }} x\right )-\frac {2 b d \cos \left (c+d x^2\right )}{3 x}-\frac {b \sin \left (c+d x^2\right )}{3 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {14, 3387, 3388, 3353, 3352, 3351} \[ -\frac {a}{3 x^3}-\frac {2}{3} \sqrt {2 \pi } b d^{3/2} \sin (c) \text {FresnelC}\left (\sqrt {\frac {2}{\pi }} \sqrt {d} x\right )-\frac {2}{3} \sqrt {2 \pi } b d^{3/2} \cos (c) S\left (\sqrt {d} \sqrt {\frac {2}{\pi }} x\right )-\frac {b \sin \left (c+d x^2\right )}{3 x^3}-\frac {2 b d \cos \left (c+d x^2\right )}{3 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 3351
Rule 3352
Rule 3353
Rule 3387
Rule 3388
Rubi steps
\begin {align*} \int \frac {a+b \sin \left (c+d x^2\right )}{x^4} \, dx &=\int \left (\frac {a}{x^4}+\frac {b \sin \left (c+d x^2\right )}{x^4}\right ) \, dx\\ &=-\frac {a}{3 x^3}+b \int \frac {\sin \left (c+d x^2\right )}{x^4} \, dx\\ &=-\frac {a}{3 x^3}-\frac {b \sin \left (c+d x^2\right )}{3 x^3}+\frac {1}{3} (2 b d) \int \frac {\cos \left (c+d x^2\right )}{x^2} \, dx\\ &=-\frac {a}{3 x^3}-\frac {2 b d \cos \left (c+d x^2\right )}{3 x}-\frac {b \sin \left (c+d x^2\right )}{3 x^3}-\frac {1}{3} \left (4 b d^2\right ) \int \sin \left (c+d x^2\right ) \, dx\\ &=-\frac {a}{3 x^3}-\frac {2 b d \cos \left (c+d x^2\right )}{3 x}-\frac {b \sin \left (c+d x^2\right )}{3 x^3}-\frac {1}{3} \left (4 b d^2 \cos (c)\right ) \int \sin \left (d x^2\right ) \, dx-\frac {1}{3} \left (4 b d^2 \sin (c)\right ) \int \cos \left (d x^2\right ) \, dx\\ &=-\frac {a}{3 x^3}-\frac {2 b d \cos \left (c+d x^2\right )}{3 x}-\frac {2}{3} b d^{3/2} \sqrt {2 \pi } \cos (c) S\left (\sqrt {d} \sqrt {\frac {2}{\pi }} x\right )-\frac {2}{3} b d^{3/2} \sqrt {2 \pi } C\left (\sqrt {d} \sqrt {\frac {2}{\pi }} x\right ) \sin (c)-\frac {b \sin \left (c+d x^2\right )}{3 x^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.23, size = 119, normalized size = 1.04 \[ -\frac {a}{3 x^3}-\frac {2}{3} \sqrt {2 \pi } b d^{3/2} \left (\sin (c) C\left (\sqrt {d} \sqrt {\frac {2}{\pi }} x\right )+\cos (c) S\left (\sqrt {d} \sqrt {\frac {2}{\pi }} x\right )\right )-\frac {b \cos \left (d x^2\right ) \left (2 d x^2 \cos (c)+\sin (c)\right )}{3 x^3}+\frac {b \sin \left (d x^2\right ) \left (2 d x^2 \sin (c)-\cos (c)\right )}{3 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.65, size = 98, normalized size = 0.86 \[ -\frac {2 \, \sqrt {2} \pi b d x^{3} \sqrt {\frac {d}{\pi }} \cos \relax (c) \operatorname {S}\left (\sqrt {2} x \sqrt {\frac {d}{\pi }}\right ) + 2 \, \sqrt {2} \pi b d x^{3} \sqrt {\frac {d}{\pi }} \operatorname {C}\left (\sqrt {2} x \sqrt {\frac {d}{\pi }}\right ) \sin \relax (c) + 2 \, b d x^{2} \cos \left (d x^{2} + c\right ) + b \sin \left (d x^{2} + c\right ) + a}{3 \, x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \sin \left (d x^{2} + c\right ) + a}{x^{4}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 83, normalized size = 0.73 \[ -\frac {a}{3 x^{3}}+b \left (-\frac {\sin \left (d \,x^{2}+c \right )}{3 x^{3}}+\frac {2 d \left (-\frac {\cos \left (d \,x^{2}+c \right )}{x}-\sqrt {d}\, \sqrt {2}\, \sqrt {\pi }\, \left (\cos \relax (c ) \mathrm {S}\left (\frac {x \sqrt {d}\, \sqrt {2}}{\sqrt {\pi }}\right )+\sin \relax (c ) \FresnelC \left (\frac {x \sqrt {d}\, \sqrt {2}}{\sqrt {\pi }}\right )\right )\right )}{3}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 1.04, size = 82, normalized size = 0.72 \[ -\frac {\sqrt {d x^{2}} {\left ({\left (-\left (i + 1\right ) \, \sqrt {2} \Gamma \left (-\frac {3}{2}, i \, d x^{2}\right ) + \left (i - 1\right ) \, \sqrt {2} \Gamma \left (-\frac {3}{2}, -i \, d x^{2}\right )\right )} \cos \relax (c) + {\left (\left (i - 1\right ) \, \sqrt {2} \Gamma \left (-\frac {3}{2}, i \, d x^{2}\right ) - \left (i + 1\right ) \, \sqrt {2} \Gamma \left (-\frac {3}{2}, -i \, d x^{2}\right )\right )} \sin \relax (c)\right )} b d}{8 \, x} - \frac {a}{3 \, x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {a+b\,\sin \left (d\,x^2+c\right )}{x^4} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \sin {\left (c + d x^{2} \right )}}{x^{4}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________